package cn.iocoder.yudao.module.iot.gateway.protocol.tcp.router.handler;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface ProtocolHandlerType {
    String protocol() default "default";
    String handler() default "business";
}